home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 24 / CU Amiga Magazine's Super CD-ROM 24 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-07].iso / CUCD / Programming / SWI / source / lib / helpidx.pl < prev    next >
Encoding:
Text File  |  1998-04-15  |  46.7 KB  |  748 lines

  1. /*  $Id: helpidx.pl,v 1.37 1998/04/15 15:16:19 jan Exp $
  2.  
  3.     Generated by online_index/0
  4.  
  5.     Purpose: Index to file online_manual
  6. */
  7.  
  8. :- module(help_index,
  9.     [ predicate/5
  10.     , section/4
  11.     , function/3
  12.     ]).
  13.  
  14. %   Predicate predicate/5
  15.  
  16. predicate(help, 0, 'Give help on help', 34748, 34805).
  17. predicate(help, 1, 'Give help on predicates and show parts of manual', 34808, 35756).
  18. predicate(apropos, 1, 'library(online_help) Show related predicates and manual sections', 35759, 36240).
  19. predicate(explain, 1, 'library(explain) Explain argument', 36243, 36645).
  20. predicate(explain, 2, 'library(explain) 2nd argument is explanation of first', 36648, 36892).
  21. predicate(please, 3, 'Query/change environment parameters', 53600, 55663).
  22. predicate(feature, 2, 'Get system configuration parameters', 55666, 66573).
  23. predicate(set_feature, 2, 'Define a system feature', 66576, 66762).
  24. predicate(make_library_index, 1, 'Create autoload file INDEX.pl', 69135, 69431).
  25. predicate(load_files, 2, 'Load source files with options', 87467, 89383).
  26. predicate(consult, 1, 'Read (compile) a Prolog source file', 89386, 90223).
  27. predicate(ensure_loaded, 1, 'Consult a file if that has not yet been done', 90226, 90976).
  28. predicate(require, 1, 'This file requires these predicates', 90979, 91864).
  29. predicate(make, 0, 'Reconsult all changed source files', 91867, 92591).
  30. predicate(library_directory, 1, 'Hook (user) Directories holding Prolog libraries', 92594, 92995).
  31. predicate(file_search_path, 2, 'Define path-aliases for locating files', 92998, 94369).
  32. predicate(expand_file_search_path, 2, 'Wildcard expansion of file paths', 94372, 94667).
  33. predicate(source_file, 1, 'Examine currently loaded source files', 94670, 95096).
  34. predicate(source_file, 2, 'Obtain source file of predicate', 95099, 95606).
  35. predicate(prolog_load_context, 2, 'Context information for directives', 95609, 96625).
  36. predicate(source_location, 2, 'Location of last read term', 96628, 97022).
  37. predicate(term_expansion, 2, 'Hook (user) Convert term before compilation', 97025, 98546).
  38. predicate(expand_term, 2, 'Compiler: expand read term into clause(s)', 98549, 98913).
  39. predicate(at_initialization, 1, 'Register goal to run at start-up', 98916, 99376).
  40. predicate(at_halt, 1, 'Register goal to run at halt/1', 99379, 99655).
  41. predicate( (initialization), 1, 'Initialization directive', 99658, 100142).
  42. predicate(compiling, 0, 'Is this a compilation run?', 100145, 100402).
  43. predicate(preprocessor, 2, 'Install a preprocessor before the compiler', 100405, 100942).
  44. predicate(qcompile, 1, 'Compile source to Quick Load File', 102265, 103181).
  45. predicate(qload, 1, 'Load Quick Load File as consult/1', 103184, 103433).
  46. predicate(ed, 1, 'Edit a predicate', 104854, 105064).
  47. predicate(ed, 0, 'Edit last edited predicate', 105067, 105206).
  48. predicate(edit, 1, 'Edit a file', 105209, 105446).
  49. predicate(edit, 0, 'Edit last edited file', 105449, 105602).
  50. predicate(listing, 1, 'List predicate', 105605, 105962).
  51. predicate(listing, 0, 'List program in current module', 105965, 106062).
  52. predicate(portray_clause, 1, 'Pretty print a clause', 106065, 106401).
  53. predicate(edit_source, 1, 'Hook (user) Intercept editing', 106404, 107153).
  54. predicate(var, 1, 'Type check for unbound variable', 107225, 107315).
  55. predicate(nonvar, 1, 'Type check for bound term', 107318, 107421).
  56. predicate(integer, 1, 'Type check for integer', 107424, 107520).
  57. predicate(float, 1, 'Type check for a floating point number', 107523, 107626).
  58. predicate(number, 1, 'Type check for integer or float', 107629, 107749).
  59. predicate(atom, 1, 'Type check for an atom', 107752, 107836).
  60. predicate(string, 1, 'Type check for string', 107839, 107930).
  61. predicate(atomic, 1, 'Type check for primitive', 107933, 108072).
  62. predicate(compound, 1, 'Test for compound term', 108075, 108235).
  63. predicate(ground, 1, 'Verify term holds no unbound variables', 108238, 108332).
  64. predicate(==, 2, 'Identical', 109249, 109420).
  65. predicate(\==, 2, 'Not identical', 109423, 109501).
  66. predicate(=, 2, 'Unification', 109504, 109631).
  67. predicate(\=, 2, 'Not unifyable', 109634, 109710).
  68. predicate(=@=, 2, 'Structural identical', 109713, 110284).
  69. predicate(\=@=, 2, 'Not structural identical', 110287, 110369).
  70. predicate(@<, 2, 'Standard order smaller', 110372, 110503).
  71. predicate(@=<, 2, 'Standard order smaller or equal', 110506, 110678).
  72. predicate(@>, 2, 'Standard order larger', 110681, 110811).
  73. predicate(@>=, 2, 'Standard order larger or equal', 110814, 110986).
  74. predicate(compare, 3, 'Compare, using a predicate to determine the order', 110989, 111241).
  75. predicate(fail, 0, 'Always false', 111861, 111992).
  76. predicate(true, 0, 'Succeed', 111995, 112126).
  77. predicate(repeat, 0, 'Succeed, leaving infinite backtrack points', 112129, 112213).
  78. predicate(!, 0, 'Cut (discard choicepoints)', 112216, 113179).
  79. predicate( (,), 2, 'Conjunction of goals', 113182, 113449).
  80. predicate( (;), 2, 'Disjunction of goals. Same as |/2', 113452, 113589).
  81. predicate( ('|'), 2, 'Disjunction of goals. Same as ;/2', 113592, 113771).
  82. predicate( (->), 2, 'If-then-else', 113774, 114641).
  83. predicate( (*->), 2, 'Soft-cut', 114644, 115299).
  84. predicate(\+, 1, 'Negation by failure. Same as not/1', 115302, 115498).
  85. predicate(call, 1, 'Call a goal', 115989, 116228).
  86. predicate(call, 1, 'Call a goal', 116231, 116819).
  87. predicate(apply, 2, 'Call goal with additional arguments', 116822, 117427).
  88. predicate(not, 1, 'Negation by failure (argument not provable). Same as \+/1', 117430, 117583).
  89. predicate(once, 1, 'Call a goal deterministically', 117586, 117919).
  90. predicate(ignore, 1, 'Call the argument, but always succeed', 117922, 118155).
  91. predicate(call_with_depth_limit, 3, 'Prove goal with bounded depth', 118158, 119715).
  92. predicate(catch, 3, 'Call goal, watching for exceptions', 120130, 120834).
  93. predicate(throw, 1, 'Raise an exception (see catch/3)', 120837, 121609).
  94. predicate(print_message, 2, 'Print message from (exception) term', 124799, 125853).
  95. predicate(message_hook, 3, 'Intercept print_message/2', 125856, 126557).
  96. predicate(block, 3, 'Start a block (`catch''/`throw'')', 126945, 127388).
  97. predicate(exit, 2, 'Exit from named block. See block/3', 127391, 127683).
  98. predicate(fail, 1, 'Immediately fail named block. See block/3', 127686, 127897).
  99. predicate(!, 1, 'Cut block. See block/3', 127900, 128766).
  100. predicate(phrase, 2, 'Activate grammar-rule set', 128941, 129074).
  101. predicate(phrase, 3, 'Activate grammar-rule set (returning rest)', 129077, 129359).
  102. predicate(abolish, 1, 'Remove predicate definition from the database', 131000, 131629).
  103. predicate(abolish, 2, 'Remove predicate definition from the database', 131632, 131868).
  104. predicate(redefine_system_predicate, 1, 'Abolish system definition', 131871, 132485).
  105. predicate(retract, 1, 'Remove clause from the database', 132488, 132716).
  106. predicate(retractall, 1, 'Remove unifying clauses from the database', 132719, 132887).
  107. predicate(assert, 1, 'Add a clause to the database', 132890, 133067).
  108. predicate(asserta, 1, 'Add a clause to the database (first)', 133070, 133237).
  109. predicate(assertz, 1, 'Add a clause to the database (last)', 133240, 133327).
  110. predicate(assert, 2, 'Add a clause to the database, give reference', 133330, 133639).
  111. predicate(asserta, 2, 'Add a clause to the database (first)', 133642, 133843).
  112. predicate(assertz, 2, 'Add a clause to the database (last)', 133846, 133967).
  113. predicate(recorda, 3, 'Record term in the database (first)', 133970, 134304).
  114. predicate(recorda, 2, 'Record term in the database (first)', 134307, 134409).
  115. predicate(recordz, 3, 'Record term in the database (last)', 134412, 134634).
  116. predicate(recordz, 2, 'Record term in the database (last)', 134637, 134739).
  117. predicate(recorded, 3, 'Obtain term from the database', 134742, 135033).
  118. predicate(recorded, 2, 'Obtain term from the database', 135036, 135145).
  119. predicate(erase, 1, 'Erase a database record or clause', 135148, 135729).
  120. predicate(flag, 3, 'Simple global variable system', 135732, 136482).
  121. predicate(hash_term, 2, 'Hash-value of ground term', 136860, 137552).
  122. predicate( (dynamic), 1, 'Indicate predicate definition may change', 138310, 138876).
  123. predicate( (multifile), 1, 'Indicate distributed definition of predicate', 138879, 139176).
  124. predicate( (discontiguous), 1, 'Indicate distributed definition of a predicate', 139179, 139448).
  125. predicate(index, 1, 'Change clause indexing', 139451, 141291).
  126. predicate(current_atom, 1, 'Examine existing atoms', 141370, 141628).
  127. predicate(current_functor, 2, 'Examine existing name/arity pairs', 141631, 141845).
  128. predicate(current_flag, 1, 'Examine existing flags', 141848, 142027).
  129. predicate(current_key, 1, 'Examine existing database keys', 142030, 142201).
  130. predicate(current_predicate, 2, 'Examine existing predicates', 142204, 142683).
  131. predicate(predicate_property, 2, 'Query predicate attributes', 142686, 146155).
  132. predicate(dwim_predicate, 2, 'Find predicate in ``Do What I Mean'''' sense', 146158, 146846).
  133. predicate(clause, 2, 'Get clauses of a predicate', 146849, 147340).
  134. predicate(clause, 3, 'Get clauses of a predicate', 147343, 147786).
  135. predicate(nth_clause, 3, 'N-th clause of a predicate', 147789, 148811).
  136. predicate(clause_property, 2, 'Get properties of a clause', 148814, 149890).
  137. predicate(see, 1, 'Change the current input stream', 152798, 153166).
  138. predicate(tell, 1, 'Change current output stream', 153169, 153559).
  139. predicate(append, 1, 'Append to a file', 153562, 153807).
  140. predicate(seeing, 1, 'Query the current input stream', 153810, 153934).
  141. predicate(telling, 1, 'Query current output stream', 153937, 154065).
  142. predicate(seen, 0, 'Close the current input stream', 154068, 154161).
  143. predicate(told, 0, 'Close current output', 154164, 154268).
  144. predicate(open, 4, 'Open a file (creating a stream)', 154718, 157839).
  145. predicate(open, 3, 'Open a file (creating a stream)', 157842, 157993).
  146. predicate(open_null_stream, 1, 'Open a stream to discard output', 157996, 158368).
  147. predicate(close, 1, 'Close stream', 158371, 158634).
  148. predicate(current_stream, 3, 'Examine open streams', 158637, 159076).
  149. predicate(stream_position, 3, 'Get/seek to position in file', 159079, 159705).
  150. predicate(set_input, 1, 'Set current input stream from a stream', 159970, 160175).
  151. predicate(set_output, 1, 'Set current output stream from a stream', 160178, 160300).
  152. predicate(current_input, 1, 'Get current input stream', 160303, 160483).
  153. predicate(current_output, 1, 'Get the current output stream', 160486, 160591).
  154. predicate(dup_stream, 2, 'Duplicate I/O streams', 160594, 161436).
  155. predicate(wait_for_input, 3, 'Wait for input with optional timeout', 161548, 162597).
  156. predicate(character_count, 2, 'Get character index on a stream', 162600, 162934).
  157. predicate(line_count, 2, 'Line number on stream', 162937, 163117).
  158. predicate(line_position, 2, 'Character position in line on stream', 163120, 163485).
  159. predicate(fileerrors, 2, 'Do/Don''t warn on file errors', 163488, 163796).
  160. predicate(nl, 0, 'Generate a newline', 163916, 164047).
  161. predicate(nl, 1, 'Generate a newline on a stream', 164050, 164127).
  162. predicate(put, 1, 'Write a character', 164130, 164358).
  163. predicate(put, 2, 'Write a character on a stream', 164361, 164463).
  164. predicate(tab, 1, 'Output number of spaces', 164466, 164692).
  165. predicate(tab, 2, 'Output number of spaces on a stream', 164695, 164817).
  166. predicate(flush, 0, 'Output pending characters on current stream', 164820, 165075).
  167. predicate(flush_output, 1, 'Output pending characters on specified stream', 165078, 165228).
  168. predicate(ttyflush, 0, 'Flush output on terminal', 165231, 165338).
  169. predicate(get0, 1, 'Read next character', 165341, 165515).
  170. predicate(get0, 2, 'Read next character from a stream', 165518, 165630).
  171. predicate(get, 1, 'Read first non-blank character', 165633, 165819).
  172. predicate(get, 2, 'Read first non-blank character from a stream', 165822, 165941).
  173. predicate(peek_byte, 1, 'Read character without removing', 165944, 166139).
  174. predicate(peek_byte, 2, 'Read character without removing', 166142, 166356).
  175. predicate(skip, 1, 'Skip to character in current input', 166359, 166566).
  176. predicate(skip, 2, 'Skip to character on stream', 166569, 166690).
  177. predicate(get_single_char, 1, 'Read next character from the terminal', 166693, 167318).
  178. predicate(at_end_of_stream, 0, 'Test for end of file on input', 167321, 167528).
  179. predicate(at_end_of_stream, 1, 'Test for end of file on stream', 167531, 167732).
  180. predicate(write_term, 2, 'Write term with options', 168606, 169909).
  181. predicate(write_term, 3, 'Write term with options to stream', 169912, 170147).
  182. predicate(write_canonical, 1, 'Write a term with quotes, ignore operators', 170150, 170613).
  183. predicate(write_canonical, 2, 'Write a term with quotes, ignore operators on a stream', 170616, 170772).
  184. predicate(write, 1, 'Write term', 170775, 171003).
  185. predicate(write, 2, 'Write term to stream', 171006, 171114).
  186. predicate(writeq, 1, 'Write term, insert quotes', 171117, 171458).
  187. predicate(writeq, 2, 'Write term, insert quotes on stream', 171461, 171590).
  188. predicate(print, 1, 'Print a term', 171593, 171969).
  189. predicate(print, 2, 'Print a term on a stream', 171972, 172080).
  190. predicate(portray, 1, 'Hook (user) Modify behaviour of print/1', 172083, 172582).
  191. predicate(read, 1, 'Read Prolog term', 172585, 172925).
  192. predicate(read, 2, 'Read Prolog term from stream', 172928, 173034).
  193. predicate(read_clause, 1, 'Read clause', 173037, 173493).
  194. predicate(read_clause, 2, 'Read clause from stream', 173496, 173665).
  195. predicate(read_variables, 2, 'Read clause including variable names', 173668, 174063).
  196. predicate(read_variables, 3, 'Read clause including variable names from stream ', 174066, 174325).
  197. predicate(read_term, 2, 'Read term with options', 174328, 178145).
  198. predicate(read_term, 3, 'Read term with options from stream', 178148, 178342).
  199. predicate(read_history, 6, 'Read using history substitution', 178345, 179386).
  200. predicate(prompt, 2, 'Change the prompt used by read/1', 179389, 179980).
  201. predicate(prompt1, 1, 'Change prompt for 1 line', 179983, 180176).
  202. predicate(functor, 3, 'Get name and arity of a term or construct a term ', 180286, 180812).
  203. predicate(arg, 3, 'Access argument of a term', 180815, 181552).
  204. predicate(setarg, 3, 'Destructive assignment on term', 181555, 182034).
  205. predicate(=.., 2, '``Univ.'''' Term to list conversion', 182037, 182437).
  206. predicate(numbervars, 4, 'Enumerate unbound variables of a term using a given base', 182440, 183101).
  207. predicate(free_variables, 2, 'Find unbound variables in a term', 183104, 183424).
  208. predicate(copy_term, 2, 'Make a copy of a term', 183427, 183950).
  209. predicate(atom_chars, 2, 'Convert between atom and list of ASCII values', 184572, 185026).
  210. predicate(atom_char, 2, 'Convert between atom and ASCII value', 185029, 185170).
  211. predicate(number_chars, 2, 'Convert between number and atom', 185173, 185511).
  212. predicate(name, 2, 'Convert between atom and list of ASCII characters', 185514, 185995).
  213. predicate(int_to_atom, 3, 'Convert from integer to atom (non-decimal)', 185998, 186618).
  214. predicate(int_to_atom, 2, 'Convert from integer to atom', 186621, 186738).
  215. predicate(term_to_atom, 2, 'Convert between term and atom', 186741, 187091).
  216. predicate(atom_to_term, 3, 'Convert between atom and term', 187094, 187585).
  217. predicate(concat, 3, 'Append two atoms', 187588, 187870).
  218. predicate(concat_atom, 2, 'Append a list of atoms', 187873, 188254).
  219. predicate(concat_atom, 3, 'Append a list of atoms with separator', 188257, 188593).
  220. predicate(atom_length, 2, 'Determine length of an atom', 188596, 188904).
  221. predicate(atom_prefix, 2, 'Test for start of atom', 188907, 189206).
  222. predicate(string_to_atom, 2, 'Conversion between string and atom', 190597, 190878).
  223. predicate(string_to_list, 2, 'Conversion between string and list of ASCII', 190881, 191103).
  224. predicate(string_length, 2, 'Determine length of a string', 191106, 191456).
  225. predicate(string_concat, 3, 'concat/3 for strings (non-deterministic)', 191459, 192253).
  226. predicate(substring, 4, 'Get part of a string', 192256, 192556).
  227. predicate(op, 3, 'Declare an operator', 192603, 195154).
  228. predicate(current_op, 3, 'Examine current operator declarations', 195157, 195430).
  229. predicate(between, 3, 'Integer range checking/generating', 196374, 196730).
  230. predicate(succ, 2, 'Logical integer successor relation', 196733, 196906).
  231. predicate(plus, 3, 'Logical integer addition', 196909, 197115).
  232. predicate(>, 2, 'Arithmetic larger', 197118, 197262).
  233. predicate(<, 2, 'Arithmetic smaller', 197265, 197409).
  234. predicate(=<, 2, 'Arithmetic smaller or equal', 197412, 197567).
  235. predicate(>=, 2, 'Arithmetic larger or equal', 197570, 197725).
  236. predicate(=\=, 2, 'Arithmetic not equal', 197728, 197874).
  237. predicate(=:=, 2, 'Arithmetic equal', 197877, 198023).
  238. predicate(is, 2, 'Evaluate arithmetic expression', 198026, 199196).
  239. predicate(-, 1, 'Unary minus', 200587, 200643).
  240. predicate(+, 2, 'Addition', 200646, 200743).
  241. predicate(-, 2, 'Subtraction', 200746, 200843).
  242. predicate(*, 2, 'Multiplication', 200846, 200934).
  243. predicate(/, 2, 'Division', 200937, 201033).
  244. predicate(mod, 2, 'Remainder of division', 201036, 201185).
  245. predicate(rem, 2, 'Remainder of division', 201188, 201337).
  246. predicate(//, 2, 'Integer division', 201340, 201475).
  247. predicate(abs, 1, 'Absolute value', 201478, 201572).
  248. predicate(sign, 1, 'Extract sign of value', 201575, 201695).
  249. predicate(max, 2, 'Maximum of two numbers', 201698, 201828).
  250. predicate(min, 2, 'Minimum of two numbers', 201831, 201962).
  251. predicate('.', 2, 'Consult. Also list constructor', 201965, 202396).
  252. predicate(random, 1, 'Generate random number', 202399, 202616).
  253. predicate(round, 1, 'Round to nearest integer', 202619, 202729).
  254. predicate(integer, 1, 'Type check for integer', 202732, 202835).
  255. predicate(float, 1, 'Type check for a floating point number', 202838, 203163).
  256. predicate(float_fractional_part, 1, 'Fractional part of a float', 203166, 203376).
  257. predicate(float_integer_part, 1, 'Integer part of a float', 203379, 203591).
  258. predicate(truncate, 1, 'Truncate float to integer', 203594, 203752).
  259. predicate(floor, 1, 'Largest integer below argument', 203755, 203907).
  260. predicate(ceiling, 1, 'Smallest integer larger than arg', 203910, 204068).
  261. predicate(ceil, 1, 'Smallest integer larger than arg', 204071, 204171).
  262. predicate(>>, 2, 'Bitwise right shift', 204174, 204317).
  263. predicate(<<, 2, 'Bitwise left shift', 204320, 204462).
  264. predicate(\/, 2, 'Bitwise or', 204465, 204590).
  265. predicate(/\, 2, 'Bitwise and', 204593, 204719).
  266. predicate(xor, 2, 'Bitwise exclusive or', 204722, 204864).
  267. predicate(\, 1, 'Bitwise negation', 204867, 204916).
  268. predicate(sqrt, 1, 'Square root', 204919, 205005).
  269. predicate(sin, 1, 'Sine', 205008, 205124).
  270. predicate(cos, 1, 'Cosine', 205127, 205245).
  271. predicate(tan, 1, 'Tangent', 205248, 205366).
  272. predicate(asin, 1, 'Inverse (arc) sine', 205369, 205502).
  273. predicate(acos, 1, 'Inverse (arc) cosine', 205505, 205640).
  274. predicate(atan, 1, 'Inverse (arc) tangent', 205643, 205778).
  275. predicate(atan, 2, 'Rectangular to polar conversion', 205781, 206092).
  276. predicate(log, 1, 'Natural logarithm', 206095, 206184).
  277. predicate(log10, 1, '10 base logarithm', 206187, 206282).
  278. predicate(exp, 1, 'Exponent (base $e$)', 206285, 206368).
  279. predicate(**, 2, 'Power function', 206371, 206481).
  280. predicate(^, 2, 'Existential quantification (bagof/3, setof/3)', 206484, 206569).
  281. predicate(pi, 0, 'Mathematical constant', 206572, 206637).
  282. predicate(e, 0, 'Mathematical constant', 206640, 206701).
  283. predicate(cputime, 0, 'Get CPU time', 206704, 206920).
  284. predicate(arithmetic_function, 1, 'Register an evaluable function', 207708, 208626).
  285. predicate(current_arithmetic_function, 1, 'Examine evaluable functions', 208629, 208847).
  286. predicate(is_list, 1, 'Type check for a list', 208916, 209069).
  287. predicate(proper_list, 1, 'Type check for list', 209072, 209331).
  288. predicate(append, 3, 'Concatenate lists', 209334, 209625).
  289. predicate(member, 2, 'Element is member of a list', 209628, 209838).
  290. predicate(memberchk, 2, 'Deterministic member/2', 209841, 209981).
  291. predicate(delete, 3, 'Delete all matching members from a list', 209984, 210202).
  292. predicate(select, 3, 'Select element of a list', 210205, 210735).
  293. predicate(nth0, 3, 'N-th element of a list (0-based)', 210738, 210938).
  294. predicate(nth1, 3, 'N-th element of a list (1-based)', 210941, 211141).
  295. predicate(last, 2, 'Last element of a list', 211144, 211273).
  296. predicate(reverse, 2, 'Inverse the order of the elements in a list', 211276, 211469).
  297. predicate(flatten, 2, 'Transform nested list into flat list', 211472, 211822).
  298. predicate(length, 2, 'Length of a list', 211825, 212025).
  299. predicate(merge, 3, 'Merge two sorted lists', 212028, 212400).
  300. predicate(is_set, 1, 'Type check for a set', 212466, 212624).
  301. predicate(list_to_set, 2, 'Remove duplicates', 212627, 212967).
  302. predicate(intersection, 3, 'Set intersection', 212970, 213265).
  303. predicate(subtract, 3, 'Delete elements that do not meet condition', 213268, 213467).
  304. predicate(union, 3, 'Union of two sets', 213470, 213724).
  305. predicate(subset, 2, 'Generate/check subset relation', 213727, 213875).
  306. predicate(merge_set, 3, 'Merge two sorted sets', 213878, 214218).
  307. predicate(sort, 2, 'Sort elements in a list', 214275, 214804).
  308. predicate(msort, 2, 'Sort, do not remove duplicates', 214807, 214939).
  309. predicate(keysort, 2, 'Sort, using a key', 214942, 215618).
  310. predicate(predsort, 3, 'Sort, using a predicate to determine the order', 215621, 215986).
  311. predicate(findall, 3, 'Find all solutions to a goal', 216089, 216618).
  312. predicate(bagof, 3, 'Find all solutions to a goal', 216621, 217745).
  313. predicate(setof, 3, 'Find all unique solutions to a goal', 217748, 217968).
  314. predicate(checklist, 2, 'Invoke goal on all members of a list', 218516, 218787).
  315. predicate(maplist, 3, 'Transform all elements of a list', 218790, 219078).
  316. predicate(sublist, 3, 'Determine elements that meet condition', 219081, 219282).
  317. predicate(forall, 2, 'Prove goal for all solutions of another goal', 219320, 219726).
  318. predicate(write_ln, 1, 'Write term, followed by a newline', 220388, 220469).
  319. predicate(writef, 1, 'Formatted write', 220472, 220548).
  320. predicate(writef, 2, 'Formatted write on stream', 220551, 223718).
  321. predicate(swritef, 3, 'Formatted write on a string', 223721, 224056).
  322. predicate(swritef, 2, 'Formatted write on a string', 224059, 224180).
  323. predicate(format, 1, 'Formatted output', 224224, 224325).
  324. predicate(format, 2, 'Formatted output with arguments', 224328, 229081).
  325. predicate(format, 3, 'Formatted output on a stream', 229084, 229276).
  326. predicate(sformat, 3, 'Format on a string', 229279, 229618).
  327. predicate(sformat, 2, 'Format on a string', 229621, 229744).
  328. predicate(format_predicate, 2, 'Program format/[1,2]', 229822, 230937).
  329. predicate(tty_get_capability, 3, 'Get terminal parameter', 231235, 231865).
  330. predicate(tty_goto, 2, 'Goto position on screen', 231868, 232161).
  331. predicate(tty_put, 2, 'Write control string to terminal', 232164, 232612).
  332. predicate(set_tty, 2, 'Set `tty'' stream', 232615, 232864).
  333. predicate(shell, 2, 'Execute OS command', 232964, 233599).
  334. predicate(shell, 1, 'Execute OS command', 233602, 233687).
  335. predicate(shell, 0, 'Execute interactive subshell', 233690, 233877).
  336. predicate(win_exec, 2, 'Win32: spawn Windows task', 233880, 234209).
  337. predicate(getenv, 2, 'Get shell environment variable', 234212, 234376).
  338. predicate(setenv, 2, 'Set shell environment variable', 234379, 234709).
  339. predicate(unsetenv, 1, 'Delete shell environment variable', 234712, 234817).
  340. predicate(get_time, 1, 'Get current time', 234820, 235092).
  341. predicate(convert_time, 8, 'Convert time stamp', 235095, 235966).
  342. predicate(access_file, 2, 'Check access permissions of a file', 236051, 236657).
  343. predicate(exists_file, 1, 'Check existence of file', 236660, 236838).
  344. predicate(file_directory_name, 2, 'Get directory part of path', 236841, 237292).
  345. predicate(file_base_name, 2, 'Get file part of path', 237295, 237539).
  346. predicate(same_file, 2, 'Succeeds if arguments refer to same file', 237542, 237890).
  347. predicate(exists_directory, 1, 'Check existence of directory', 237893, 238129).
  348. predicate(delete_file, 1, 'Remove a file from the file system', 238132, 238238).
  349. predicate(rename_file, 2, 'Change name of file', 238241, 238427).
  350. predicate(size_file, 2, 'Get size of a file in characters', 238430, 238566).
  351. predicate(time_file, 2, 'Get last modification time of file', 238569, 238817).
  352. predicate(absolute_file_name, 2, 'Get absolute path name', 238820, 239367).
  353. predicate(absolute_file_name, 3, 'Get absolute path name with options', 239370, 241063).
  354. predicate(is_absolute_file_name, 1, 'True if arg defines an absolute path', 241066, 241651).
  355. predicate(file_name_extension, 3, 'Add, remove or test file extensions', 241654, 242277).
  356. predicate(expand_file_name, 2, 'Wildcard expansion of file names', 242280, 242891).
  357. predicate(prolog_to_os_filename, 2, 'Convert between Prolog and OS filenames', 242894, 243404).
  358. predicate(read_link, 3, 'Read a symbolic link', 243407, 243888).
  359. predicate(tmp_file, 2, 'Create a temporary filename', 243891, 244217).
  360. predicate(chdir, 1, 'Change working directory', 244220, 244303).
  361. predicate(break, 0, 'Start interactive toplevel', 244397, 244937).
  362. predicate(abort, 0, 'Abort execution, return to top level', 244940, 245355).
  363. predicate(halt, 0, 'Exit from Prolog', 245358, 245730).
  364. predicate(halt, 1, 'Exit from Prolog with status', 245733, 245889).
  365. predicate(prolog, 0, 'Run interactive toplevel', 245892, 246414).
  366. predicate(expand_query, 4, 'Expanded entered query', 246417, 247229).
  367. predicate(expand_answer, 2, 'Expand answer of query', 247232, 247704).
  368. predicate(protocol, 1, 'Make a log of the user interaction', 248030, 248233).
  369. predicate(protocola, 1, 'Append log of the user interaction to file', 248236, 248398).
  370. predicate(noprotocol, 0, 'Disable logging of user interaction', 248401, 248530).
  371. predicate(protocolling, 1, 'On what file is user interaction logged', 248533, 248774).
  372. predicate(trace, 0, 'Start the tracer', 248878, 249095).
  373. predicate(tracing, 0, 'Query status of the tracer', 249098, 249253).
  374. predicate(notrace, 0, 'Stop tracing', 249256, 249365).
  375. predicate(trace, 1, 'Set trace-point on predicate', 249368, 249442).
  376. predicate(trace, 2, 'Set/Clear trace-point on ports', 249445, 250609).
  377. predicate(notrace, 1, 'Do not debug argument goal', 250612, 250956).
  378. predicate(debug, 0, 'Test for debugging mode', 250959, 251016).
  379. predicate(nodebug, 0, 'Disable debugging', 251019, 251099).
  380. predicate(debugging, 0, 'Show debugger status', 251102, 251194).
  381. predicate(spy, 1, 'Force tracer on specified predicate', 251197, 251351).
  382. predicate(nospy, 1, 'Remove spy point', 251354, 251496).
  383. predicate(nospyall, 0, 'Remove all spy points', 251499, 251575).
  384. predicate(leash, 1, 'Change ports visited by the tracer', 251578, 252187).
  385. predicate(visible, 1, 'Ports that are visible in the tracer', 252190, 252372).
  386. predicate(unknown, 2, 'Trap undefined predicates', 252375, 253573).
  387. predicate(style_check, 1, 'Change level of warnings', 253576, 255749).
  388. predicate(statistics, 2, 'Obtain collected statistics', 255849, 257991).
  389. predicate(statistics, 0, 'Show execution statistics', 257994, 258096).
  390. predicate(time, 1, 'Determine time needed to execute goal', 258099, 258556).
  391. predicate(profile, 3, 'Obtain execution statistics', 259704, 260479).
  392. predicate(show_profile, 1, 'Show results of the profiler', 260482, 260794).
  393. predicate(profiler, 2, 'Obtain/change status of the profiler', 260797, 261791).
  394. predicate(reset_profiler, 0, 'Clear statistics obtained by the profiler', 261794, 261907).
  395. predicate(profile_count, 3, 'Obtain profile results on a predicate', 261910, 262629).
  396. predicate(garbage_collect, 0, 'Invoke the garbage collector', 262947, 263416).
  397. predicate(limit_stack, 2, 'Limit stack expansion', 263419, 264126).
  398. predicate(trim_stacks, 0, 'Release unused memory resources', 264129, 264845).
  399. predicate(stack_parameter, 4, 'Some systems: Query/Set runtime stack parameter', 264848, 265601).
  400. predicate(open_dde_conversation, 3, 'Win32: Open DDE channel', 266730, 267132).
  401. predicate(close_dde_conversation, 1, 'Win32: Close DDE channel', 267135, 267477).
  402. predicate(dde_request, 3, 'Win32: Make a DDE request', 267480, 268168).
  403. predicate(dde_execute, 2, 'Win32: Execute command on DDE server', 268171, 268429).
  404. predicate(dde_poke, 3, 'Win32: POKE operation on DDE server', 268432, 268651).
  405. predicate(dde_register_service, 2, 'Win32: Become a DDE server', 269066, 270613).
  406. predicate(dde_unregister_service, 1, 'Win32: Terminate a DDE service', 270616, 270850).
  407. predicate(dde_current_service, 2, 'Win32: Examine DDE services provided', 270853, 271033).
  408. predicate(dde_current_connection, 2, 'Win32: Examine open DDE connections', 271036, 271194).
  409. predicate(dwim_match, 2, 'Atoms match in ``Do What I Mean'''' sense', 271253, 271905).
  410. predicate(dwim_match, 3, 'Atoms match in ``Do What I Mean'''' sense', 271908, 272373).
  411. predicate(wildcard_match, 2, 'Csh(1) style wildcard match', 272376, 273083).
  412. predicate(gensym, 2, 'Generate unique atoms from a base', 273086, 273442).
  413. predicate(sleep, 1, 'Suspend execution for specified time', 273445, 273873).
  414. predicate(use_module, 1, 'Import a module', 279239, 279896).
  415. predicate(use_module, 2, 'Import predicates from a module', 279899, 280446).
  416. predicate(import, 1, 'Import a predicate from a module', 280449, 281580).
  417. predicate(module, 2, 'Declare a module', 291773, 292176).
  418. predicate( (module_transparent), 1, 'Indicate module based meta predicate', 292179, 292521).
  419. predicate(meta_predicate, 1, 'Quintus compatibility', 292524, 292745).
  420. predicate(current_module, 1, 'Examine existing modules', 292748, 292861).
  421. predicate(current_module, 2, 'Examine existing modules', 292864, 293154).
  422. predicate(context_module, 1, 'Get context module of current goal', 293157, 293388).
  423. predicate(export, 1, 'Export a predicate from a module', 293391, 293843).
  424. predicate(export_list, 2, 'List of public predicates of a module', 293846, 294221).
  425. predicate(default_module, 2, 'Get the default modules of a module', 294224, 294633).
  426. predicate(module, 1, 'Query/set current type-in module', 294636, 295047).
  427. predicate(open_shared_object, 2, 'UNIX: Open shared library (.so file)', 303751, 304257).
  428. predicate(open_shared_object, 3, 'UNIX: Open shared library (.so file)', 304260, 304935).
  429. predicate(close_shared_object, 1, 'UNIX:  Close shared library (.so file)', 304938, 305086).
  430. predicate(call_shared_object_function, 2, 'UNIX:  Call C-function in shared (.so) file', 305089, 305526).
  431. predicate(load_foreign_library, 1, 'library(shlib) Load shared library (.so file)', 305878, 306011).
  432. predicate(load_foreign_library, 2, 'library(shlib) Load shared library (.so file)', 306014, 307232).
  433. predicate(unload_foreign_library, 1, 'library(shlib) Detach shared library (.so file)', 307235, 307661).
  434. predicate(current_foreign_library, 2, 'library(shlib) Examine loaded shared libraries (.so files)', 307664, 308651).
  435. predicate(load_foreign, 2, 'Load foreign (C) module', 310978, 311444).
  436. predicate(load_foreign, 5, 'Load foreign (C) module', 311447, 312147).
  437. predicate(foreign_file, 1, 'Examine loaded foreign files', 312150, 312307).
  438. predicate(qsave_program, 2, 'Create runtime application', 396901, 401466).
  439. predicate(qsave_program, 1, 'Create runtime application', 401469, 401573).
  440. predicate(autoload, 0, 'Autoload all predicates now', 401576, 403334).
  441. predicate( (volatile), 1, 'Predicates that are not saved', 403337, 403690).
  442. predicate(prolog_current_frame, 1, 'Reference to goal''s environment stack', 414631, 415040).
  443. predicate(prolog_frame_attribute, 3, 'Obtain information on a goal environment', 415043, 418143).
  444. predicate(prolog_trace_interception, 4, 'library(user) Intercept the Prolog tracer', 418225, 420120).
  445. predicate(prolog_skip_level, 2, 'Indicate deepest recursion to trace', 420123, 420782).
  446. predicate(exception, 3, 'Hook (user) Handle runtime exceptions', 421203, 423612).
  447. predicate(rl_read_init_file, 1, 'Read readline(3) init file', 423885, 424139).
  448. predicate(rl_add_history, 1, 'Add line to readline(3) history', 424142, 424301).
  449.  
  450.  
  451. %   Predicate section/4
  452.  
  453. section([0], 'Title Page', 1, 1508).
  454. section([1], 'INTRODUCTION', 1510, 25505).
  455. section([1, 1], 'SWI-Prolog', 1580, 4530).
  456. section([1, 2], 'Status', 4532, 5202).
  457. section([1, 3], 'Should you be Using SWI-Prolog?', 5204, 8499).
  458. section([1, 4], 'The XPCE GUI system for Prolog', 8501, 11434).
  459. section([1, 5], 'Version 1.5 Release Notes', 11436, 12705).
  460. section([1, 6], 'Version 1.6 Release Notes', 12707, 13248).
  461. section([1, 7], 'Version 1.7 Release Notes', 13250, 13476).
  462. section([1, 8], 'Version 1.8 Release Notes', 13478, 13735).
  463. section([1, 9], 'Version 1.9 Release Notes', 13737, 14744).
  464. section([1, 10], 'Version 2.0 Release Notes', 14746, 17644).
  465. section([1, 11], 'Version 2.1 Release Notes', 17646, 18837).
  466. section([1, 12], 'Version 2.5 Release Notes', 18839, 20699).
  467. section([1, 13], 'Version 2.6 Release Notes', 20701, 22011).
  468. section([1, 14], 'Version 2.7 Release Notes', 22013, 22711).
  469. section([1, 15], 'Version 2.8 Release Notes', 22713, 23220).
  470. section([1, 16], 'Version 2.9 Release Notes', 23222, 24299).
  471. section([1, 17], 'Acknowledgements', 24301, 25505).
  472. section([2], 'OVERVIEW', 25507, 84792).
  473. section([2, 1], 'Starting SWI-Prolog from the Unix Shell', 25565, 33115).
  474. section([2, 1, 1], 'Command Line Options', 26836, 33115).
  475. section([2, 2], 'GNU Emacs Interface', 33117, 33663).
  476. section([2, 3], 'Online Help', 33665, 36893).
  477. section([2, 4], 'Query Substitutions', 36895, 41146).
  478. section([2, 4, 1], 'Limitations of the History System', 39760, 41146).
  479. section([2, 5], 'Reuse of toplevel bindings', 41148, 42145).
  480. section([2, 6], 'Overview of the Debugger', 42147, 48096).
  481. section([2, 7], 'Compilation', 48098, 53063).
  482. section([2, 7, 1], 'During program development', 48145, 49196).
  483. section([2, 7, 2], 'For running the result', 49198, 53063).
  484. section([2, 7, 2, 1], 'Creating a shell-script', 49563, 50346).
  485. section([2, 7, 2, 2], 'Creating a saved-state', 50348, 51036).
  486. section([2, 7, 2, 3], 'Compililation using the -c commandline option', 51038, 53063).
  487. section([2, 8], 'Environment Control', 53065, 66763).
  488. section([2, 9], 'Automatic loading of libraries', 66765, 70308).
  489. section([2, 9, 1], 'Notes on Automatic Loading', 69434, 70308).
  490. section([2, 10], 'Garbage Collection', 70310, 70989).
  491. section([2, 11], 'Syntax Notes', 70991, 75322).
  492. section([2, 11, 1], 'ISO Syntax Support', 71743, 75322).
  493. section([2, 11, 1, 1], 'Character Escape Syntax', 71886, 74777).
  494. section([2, 11, 1, 2], 'Syntax for Non-Decimal Numbers', 74779, 75322).
  495. section([2, 12], 'System Limits', 75324, 84792).
  496. section([2, 12, 1], 'Limits on Memory Areas', 75378, 82743).
  497. section([2, 12, 1, 1], 'The heap', 80646, 82743).
  498. section([2, 12, 2], 'Other Limits', 82745, 84077).
  499. section([2, 12, 3], 'Reserved Names', 84079, 84792).
  500. section([3], 'BUILT-IN PREDICATES', 84794, 273874).
  501. section([3, 1], 'Notation of Predicate Descriptions', 84883, 85421).
  502. section([3, 2], 'Consulting Prolog Source files', 85423, 103434).
  503. section([3, 2, 1], 'Quick Load Files', 100945, 103434).
  504. section([3, 3], 'Listing Predicates and Editor Interface', 103436, 107154).
  505. section([3, 4], 'Verify Type of a Term', 107156, 108333).
  506. section([3, 5], 'Comparison and Unification or Terms', 108335, 111242).
  507. section([3, 5, 1], 'Standard Order of Terms', 108446, 111242).
  508. section([3, 6], 'Control Predicates', 111244, 115499).
  509. section([3, 7], 'Meta-Call Predicates', 115501, 119716).
  510. section([3, 8], 'ISO compliant Exception handling', 119718, 126558).
  511. section([3, 8, 1], 'Debugging and exceptions', 121612, 123695).
  512. section([3, 8, 2], 'The exception term', 123697, 124550).
  513. section([3, 8, 3], 'Printing a message from an exception', 124552, 126558).
  514. section([3, 9], 'Advanced control-structures:  blocks', 126560, 128767).
  515. section([3, 10], 'Grammar rule interface (phrase)', 128769, 129360).
  516. section([3, 11], 'Database', 129362, 137553).
  517. section([3, 11, 1], 'Indexing databases', 136485, 137553).
  518. section([3, 12], 'Declaring Properties of Predicates', 137555, 141292).
  519. section([3, 13], 'Examining the Program', 141294, 149891).
  520. section([3, 14], 'Input and Output', 149893, 161437).
  521. section([3, 14, 1], 'Input and Output Using Implicit Source and Destination', 150487, 154269).
  522. section([3, 14, 2], 'Explicit Input and Output Streams', 154271, 159706).
  523. section([3, 14, 3], 'Switching Between Implicit and Explicit I/O', 159708, 161437).
  524. section([3, 15], 'Status of Input and Output Streams', 161439, 163797).
  525. section([3, 16], 'Primitive Character Input and Output', 163799, 167733).
  526. section([3, 17], 'Term Reading and Writing', 167735, 180177).
  527. section([3, 18], 'Analysing and Constructing Terms', 180179, 183951).
  528. section([3, 19], 'Analysing and Constructing Atoms', 183953, 189207).
  529. section([3, 20], 'Representing Text in Strings', 189209, 192557).
  530. section([3, 21], 'Operators', 192559, 195431).
  531. section([3, 22], 'Arithmetic', 195433, 199197).
  532. section([3, 23], 'Arithmetic Functions', 199199, 206921).
  533. section([3, 24], 'Adding Arithmetic Functions', 206923, 208848).
  534. section([3, 25], 'List Manipulation', 208850, 212401).
  535. section([3, 26], 'Set Manipulation', 212403, 214219).
  536. section([3, 27], 'Sorting Lists', 214221, 215987).
  537. section([3, 28], 'Finding all Solutions to a Goal', 215989, 217969).
  538. section([3, 29], 'Invoking Predicates on all Members of a List', 217971, 219283).
  539. section([3, 30], 'Forall', 219285, 219727).
  540. section([3, 31], 'Formatted Write', 219729, 230938).
  541. section([3, 31, 1], 'Writef', 220347, 224181).
  542. section([3, 31, 2], 'Format', 224183, 229745).
  543. section([3, 31, 3], 'Programming Format', 229747, 230938).
  544. section([3, 32], 'Terminal Control', 230940, 232865).
  545. section([3, 33], 'Operating System Interaction', 232867, 235967).
  546. section([3, 34], 'File System Interaction', 235969, 244304).
  547. section([3, 35], 'User Toplevel Manipulation', 244306, 247705).
  548. section([3, 36], 'Creating a Protocol of the User Interaction', 247707, 248775).
  549. section([3, 37], 'Debugging and Tracing Programs', 248777, 255750).
  550. section([3, 38], 'Obtaining Runtime Statistics', 255752, 258557).
  551. section([3, 39], 'Finding Performance Bottlenecks', 258559, 262630).
  552. section([3, 40], 'Memory Management', 262632, 265602).
  553. section([3, 41], 'Windows DDE interface', 265604, 271195).
  554. section([3, 41, 1], 'DDE client interface', 266002, 268652).
  555. section([3, 41, 2], 'DDE server mode', 268654, 271195).
  556. section([3, 42], 'Miscellaneous', 271197, 273874).
  557. section([4], 'USING MODULES', 273876, 298798).
  558. section([4, 1], 'Why Using Modules?', 273947, 275177).
  559. section([4, 2], 'Name-based versus Predicate-based Modules', 275179, 277767).
  560. section([4, 3], 'Defining a Module', 277769, 278447).
  561. section([4, 4], 'Importing Predicates into a Module', 278449, 282366).
  562. section([4, 4, 1], 'Reserved Modules', 281583, 282366).
  563. section([4, 5], 'Using the Module System', 282368, 286014).
  564. section([4, 5, 1], 'Object Oriented Programming', 284385, 286014).
  565. section([4, 6], 'Meta-Predicates in Modules', 286016, 290089).
  566. section([4, 6, 1], 'Definition and Context Module', 287118, 288743).
  567. section([4, 6, 2], 'Overruling Module Boundaries', 288745, 290089).
  568. section([4, 7], 'Dynamic Modules', 290091, 291577).
  569. section([4, 8], 'Module Handling Predicates', 291579, 295048).
  570. section([4, 9], 'Compatibility of the Module System', 295050, 298798).
  571. section([4, 9, 1], 'Emulating meta_predicate/1', 297764, 298798).
  572. section([5], 'FOREIGN LANGUAGE INTERFACE', 298800, 396147).
  573. section([5, 1], 'Overview of the Interface', 299846, 300650).
  574. section([5, 2], 'Linking Foreign Modules', 300652, 303235).
  575. section([5, 2, 1], 'What linking is provided?', 301221, 302309).
  576. section([5, 2, 2], 'What kind of loading should I be using?', 302311, 303235).
  577. section([5, 3], 'Dynamic Linking of shared libraries', 303237, 305527).
  578. section([5, 4], 'Using the library shlib for .DLL and .so files', 305529, 312308).
  579. section([5, 4, 1], 'Static Linking', 308654, 310652).
  580. section([5, 4, 2], 'Dynamic Linking based on load_foreign/[2,5]', 310654, 312308).
  581. section([5, 5], 'Interface Data types', 312310, 321194).
  582. section([5, 5, 1], 'Type term_t:  a reference to a Prolog term', 312380, 319009).
  583. section([5, 5, 1, 1], 'Interaction with the garbage collector and stack-shifter', 318221, 319009).
  584. section([5, 5, 2], 'Other foreign interface types', 319011, 321194).
  585. section([5, 6], 'The Foreign Include File', 321196, 384212).
  586. section([5, 6, 1], 'Argument Passing and Control', 321276, 327110).
  587. section([5, 6, 1, 1], 'Non-deterministic Foreign Predicates', 322041, 327110).
  588. section([5, 6, 2], 'Atoms and functors', 327112, 328477).
  589. section([5, 6, 3], 'Analysing Terms via the Foreign Interface', 328479, 342094).
  590. section([5, 6, 3, 1], 'Testing the type of a term', 329254, 332868).
  591. section([5, 6, 3, 2], 'Reading data from a term', 332870, 339660).
  592. section([5, 6, 3, 3], 'Reading a list', 339662, 341010).
  593. section([5, 6, 3, 4], 'An example:  defining display/1 in C', 341012, 342094).
  594. section([5, 6, 4], 'Constructing Terms', 342096, 347096).
  595. section([5, 6, 5], 'Unifying data', 347098, 354975).
  596. section([5, 6, 6], 'Calling Prolog from C', 354977, 362892).
  597. section([5, 6, 6, 1], 'Predicate references', 355791, 357449).
  598. section([5, 6, 6, 2], 'Initiating a query from C', 357451, 362892).
  599. section([5, 6, 7], 'Discarding Data', 362894, 364983).
  600. section([5, 6, 8], 'Foreign Code and Modules', 364985, 366751).
  601. section([5, 6, 9], 'Prolog exceptions in foreign code', 366753, 371146).
  602. section([5, 6, 10], 'Miscellaneous', 371148, 371440).
  603. section([5, 6, 11], 'Catching Signals (Software Interrupts)', 371442, 372435).
  604. section([5, 6, 12], 'Errors and warnings', 372437, 373000).
  605. section([5, 6, 13], 'Environment Control from Foreign Code', 373002, 375003).
  606. section([5, 6, 14], 'Querying Prolog', 375005, 377179).
  607. section([5, 6, 15], 'Registering Foreign Predicates', 377181, 379595).
  608. section([5, 6, 16], 'Foreign Code Hooks', 379597, 381830).
  609. section([5, 6, 17], 'Embedding SWI-Prolog in a C-program', 381832, 384212).
  610. section([5, 7], 'Linking embedded applications using plld', 384214, 390833).
  611. section([5, 7, 1], 'A simple example', 388998, 390833).
  612. section([5, 8], 'Example of Using the Foreign Interface', 390835, 392311).
  613. section([5, 9], 'Notes on Using Foreign Code', 392313, 396147).
  614. section([5, 9, 1], 'Memory Allocation', 392400, 392827).
  615. section([5, 9, 2], 'Debugging Foreign Code', 392829, 393702).
  616. section([5, 9, 3], 'Name Conflicts in C modules', 393704, 394572).
  617. section([5, 9, 4], 'Compatibility of the Foreign Interface', 394574, 396147).
  618. section([6], 'GENERATING RUNTIME APPLICATIONS', 396149, 414037).
  619. section([6, 1], 'Limitations of qsave_program', 403693, 404597).
  620. section([6, 2], 'Runtimes and Foreign Code', 404599, 407581).
  621. section([6, 3], 'Finding Application files', 407583, 408882).
  622. section([6, 4], 'Using chpl for Configuration Information', 408884, 411244).
  623. section([6, 4, 1], 'Changing the emulator of a runtime application', 409010, 409777).
  624. section([6, 4, 2], 'Passing a path to the application', 409779, 411244).
  625. section([6, 5], 'The Runtime Environment', 411246, 414037).
  626. section([6, 5, 1], 'The Runtime Emulator', 411325, 414037).
  627. section([7], 'HACKERS CORNER', 414039, 424302).
  628. section([7, 1], 'Examining the Environment Stack', 414530, 418144).
  629. section([7, 2], 'Intercepting the Tracer', 418146, 420783).
  630. section([7, 3], 'Exception Handling', 420785, 423613).
  631. section([7, 4], 'Readline Interaction', 423615, 424302).
  632. section([8], 'SUMMARY', 424304, 454121).
  633. section([8, 1], 'Predicates', 424359, 449433).
  634. section([8, 2], 'Arithmetic Functions', 449435, 451519).
  635. section([8, 3], 'Operators', 451521, 454121).
  636. section([9], 'Bibliography', 454123, 457490).
  637.  
  638.  
  639. %   Predicate function/3
  640.  
  641. function('PL_new_term_ref', 316064, 316453).
  642. function('PL_new_term_refs', 316456, 317061).
  643. function('PL_copy_term_ref', 317064, 317377).
  644. function('PL_reset_term_refs', 317380, 318218).
  645. function('PL_succeed', 321783, 321903).
  646. function('PL_fail', 321906, 322038).
  647. function('PL_retry', 324427, 324942).
  648. function('PL_retry_address', 324945, 325236).
  649. function('PL_foreign_control', 325239, 325604).
  650. function('PL_foreign_context', 325607, 325992).
  651. function('PL_foreign_context_address', 325995, 327109).
  652. function('PL_new_atom', 327266, 327498).
  653. function('PL_atom_chars', 327501, 327855).
  654. function('PL_new_functor', 327858, 328166).
  655. function('PL_functor_name', 328169, 328334).
  656. function('PL_functor_arity', 328337, 328476).
  657. function('PL_term_type', 329348, 331307).
  658. function('PL_is_variable', 331310, 331439).
  659. function('PL_is_atom', 331442, 331556).
  660. function('PL_is_string', 331559, 331680).
  661. function('PL_is_integer', 331683, 331809).
  662. function('PL_is_float', 331812, 331929).
  663. function('PL_is_compound', 331932, 332066).
  664. function('PL_is_functor', 332069, 332421).
  665. function('PL_is_list', 332424, 332583).
  666. function('PL_is_atomic', 332586, 332732).
  667. function('PL_is_number', 332735, 332867).
  668. function('PL_get_atom', 333158, 333566).
  669. function('PL_get_atom_chars', 333569, 333977).
  670. function('PL_get_string', 333980, 334476).
  671. function('PL_get_chars', 334479, 336580).
  672. function('PL_get_list_chars', 336583, 336922).
  673. function('PL_get_integer', 336925, 337281).
  674. function('PL_get_long', 337284, 337617).
  675. function('PL_get_pointer', 337620, 338138).
  676. function('PL_get_float', 338141, 338314).
  677. function('PL_get_functor', 338317, 338701).
  678. function('PL_get_name_arity', 338704, 339116).
  679. function('PL_get_module', 339119, 339397).
  680. function('PL_get_arg', 339400, 339659).
  681. function('PL_get_list', 340289, 340527).
  682. function('PL_get_head', 340530, 340710).
  683. function('PL_get_tail', 340713, 340893).
  684. function('PL_get_nil', 340896, 341009).
  685. function('PL_put_variable', 342714, 343084).
  686. function('PL_put_atom', 343087, 343358).
  687. function('PL_put_atom_chars', 343361, 343673).
  688. function('PL_put_string_chars', 343676, 343895).
  689. function('PL_put_list_chars', 343898, 344099).
  690. function('PL_put_integer', 344102, 344257).
  691. function('PL_put_pointer', 344260, 344545).
  692. function('PL_put_float', 344548, 344709).
  693. function('PL_put_functor', 344712, 345174).
  694. function('PL_put_list', 345177, 345419).
  695. function('PL_put_nil', 345422, 345580).
  696. function('PL_put_term', 345583, 345746).
  697. function('PL_cons_functor', 345749, 346488).
  698. function('PL_cons_list', 346491, 347095).
  699. function('PL_unify', 348202, 348362).
  700. function('PL_unify_atom', 348365, 348536).
  701. function('PL_unify_atom_chars', 348539, 348787).
  702. function('PL_unify_list_chars', 348790, 349020).
  703. function('PL_unify_string_chars', 349023, 349251).
  704. function('PL_unify_integer', 349254, 349410).
  705. function('PL_unify_float', 349413, 349567).
  706. function('PL_unify_pointer', 349570, 349870).
  707. function('PL_unify_functor', 349873, 350245).
  708. function('PL_unify_list', 350248, 351586).
  709. function('PL_unify_nil', 351589, 351699).
  710. function('PL_unify_arg', 351702, 351915).
  711. function('PL_unify_term', 351918, 354974).
  712. function('PL_pred', 356141, 356467).
  713. function('PL_predicate', 356470, 356792).
  714. function('PL_predicate_info', 356795, 357448).
  715. function('PL_open_query', 358213, 361004).
  716. function('PL_next_solution', 361007, 361375).
  717. function('PL_cut_query', 361378, 361661).
  718. function('PL_close_query', 361664, 361857).
  719. function('PL_call_predicate', 361860, 362451).
  720. function('PL_call', 362454, 362891).
  721. function('PL_open_foreign_frame', 363340, 363733).
  722. function('PL_close_foreign_frame', 363736, 364061).
  723. function('PL_discard_foreign_frame', 364064, 364982).
  724. function('PL_context', 365192, 365357).
  725. function('PL_strip_module', 365360, 366400).
  726. function('PL_module_name', 366403, 366549).
  727. function('PL_new_module', 366552, 366750).
  728. function('PL_throw', 370031, 370717).
  729. function('PL_exception', 370720, 371145).
  730. function('PL_compare', 371210, 371439).
  731. function('PL_signal', 372008, 372434).
  732. function('PL_warning', 372614, 372999).
  733. function('PL_action', 373128, 375002).
  734. function('PL_query', 375071, 377178).
  735. function('PL_register_foreign', 377290, 378196).
  736. function('PL_register_extensions', 378199, 379594).
  737. function('PL_dispatch_hook', 379729, 380387).
  738. function('PL_abort_hook', 380390, 380902).
  739. function('PL_abort_unhook', 380905, 381157).
  740. function('PL_reinit_hook', 381160, 381567).
  741. function('PL_reinit_unhook', 381570, 381829).
  742. function('PL_initialise', 382938, 383595).
  743. function('PL_install_readline', 383598, 383868).
  744. function('PL_toplevel', 383871, 384052).
  745. function('PL_halt', 384055, 384211).
  746.  
  747.  
  748.